package xushuo.dao.entity.weixin.message.from;

import xushuo.dao.entity.weixin.message.BaseMessage;
import xushuo.service.defaultData.DefaultWeiXinData;

/**
 * Create by zhangpe0312@qq.com on 2018/1/31.
 */
public class FromTextMessage extends BaseMessage {

    private String Content;
    private long MsgId;

    public FromTextMessage(String ToUserName, String FromUserName,
                            long CreateTime, String Content, long MsgId){
        super.setCreateTime(CreateTime);
        super.setFromUserName(FromUserName);
        super.setMsgType(DefaultWeiXinData.FromMessage.TYPE_TEXT);
        super.setToUserName(ToUserName);
        this.Content = Content;
        this.MsgId = MsgId;
    }

    public String getContent() {
        return Content;
    }

    public void setContent(String content) {
        Content = content;
    }

    public long getMsgId() {
        return MsgId;
    }

    public void setMsgId(long msgId) {
        MsgId = msgId;
    }
}
